package com.xja.food.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xja.food.entity.Food;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 刘振升
 * @since 2022-04-14
 */
@Mapper
public interface FoodMapper extends BaseMapper<Food> {
    List<Food> foodList();

    void updatefood(Food food);

    Food selectByFid(Integer fid);
}
